/**
 * @created by jiangcheng on 2017-03-05
 * @updated by
 * @description 公共路由
 * 注：若要配置外部网页路由，则只用配置html属性即可
 */
define(function (require) {
  // 定义路由表
  var routeTable = {
    login: {
      html: 'pages/common/login/login.html',
      css: 'pages/common/login/login.css',
      js: 'pages/common/login/login.js'
    },
    browser: {
      html: 'pages/common/frame/browser.html',
      js: 'pages/common/frame/browser.js'
    },
    error: {
      html: 'pages/common/frame/error.html',
      js: 'pages/common/frame/error.js'
    },
    frame: {
      html: 'pages/common/frame/frame.html',
      js: 'pages/common/frame/frame.js'
    },
    frameRight: {
      html: 'pages/common/frame/frameRight.html',
      js: 'pages/common/frame/frameRight.js'
    },
    frameTop: {
      html: 'pages/common/frame/frameTop.html',
      js: 'pages/common/frame/frameTop.js'
    },
    dashboard: {
      html: 'pages/common/dashboard/dashboard.html',
      js: 'pages/common/dashboard/dashboard.js'
    }
  };

  // 注册路由表
  yufp.router.addRouteTable(routeTable);
});